# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Adrian Siekierka <kontakt@asie.pl>
pkgname=font-tewi
pkgver=2.0.2
pkgrel=1
pkgdesc="tewi bitmap font"
url="https://github.com/lucy/tewi-font"
arch="noarch"
license="MIT"
depends="encodings font-alias mkfontscale mkfontdir fontconfig"
makedepends="font-util-dev python3 bdftopcf"
source="tewi-font-$pkgver.tar.gz::https://github.com/lucy/tewi-font/archive/$pkgver.tar.gz"
options="!check" # no test suite
builddir="$srcdir/tewi-font-$pkgver"

build() {
	make
}

package() {
	mkdir -p "$pkgdir/usr/share/fonts/misc"
	install -Dm644 out/*.pcf.gz "$pkgdir/usr/share/fonts/misc"
	install -Dm644 *.bdf "$pkgdir/usr/share/fonts/misc"
}

sha512sums="823b4c399a64ff66280323ae09f7f3c1dc51a7e2506acfcc9e8f509d600e7bc193e523755f0921921ceb09763e16babc5258467485d3a5260b37055bcfad9123  tewi-font-2.0.2.tar.gz"
